package com.ruoyi.wisdom.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.wisdom.mapper.IotPickDisplayMapper;
import com.ruoyi.wisdom.domain.IotPickDisplay;
import com.ruoyi.wisdom.service.IIotPickDisplayService;

/**
 * 识别显示配置Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-15
 */
@Service
public class IotPickDisplayServiceImpl implements IIotPickDisplayService 
{
    @Autowired
    private IotPickDisplayMapper iotPickDisplayMapper;

    /**
     * 查询识别显示配置
     * 
     * @param id 识别显示配置主键
     * @return 识别显示配置
     */
    @Override
    public IotPickDisplay selectIotPickDisplayById(Long id)
    {
        return iotPickDisplayMapper.selectIotPickDisplayById(id);
    }

    /**
     * 查询识别显示配置列表
     * 
     * @param iotPickDisplay 识别显示配置
     * @return 识别显示配置
     */
    @Override
    public List<IotPickDisplay> selectIotPickDisplayList(IotPickDisplay iotPickDisplay)
    {
        return iotPickDisplayMapper.selectIotPickDisplayList(iotPickDisplay);
    }

    /**
     * 新增识别显示配置
     * 
     * @param iotPickDisplay 识别显示配置
     * @return 结果
     */
    @Override
    public int insertIotPickDisplay(IotPickDisplay iotPickDisplay)
    {
        return iotPickDisplayMapper.insertIotPickDisplay(iotPickDisplay);
    }

    /**
     * 修改识别显示配置
     * 
     * @param iotPickDisplay 识别显示配置
     * @return 结果
     */
    @Override
    public int updateIotPickDisplay(IotPickDisplay iotPickDisplay)
    {
        return iotPickDisplayMapper.updateIotPickDisplay(iotPickDisplay);
    }

    /**
     * 批量删除识别显示配置
     * 
     * @param ids 需要删除的识别显示配置主键
     * @return 结果
     */
    @Override
    public int deleteIotPickDisplayByIds(Long[] ids)
    {
        return iotPickDisplayMapper.deleteIotPickDisplayByIds(ids);
    }

    /**
     * 删除识别显示配置信息
     * 
     * @param id 识别显示配置主键
     * @return 结果
     */
    @Override
    public int deleteIotPickDisplayById(Long id)
    {
        return iotPickDisplayMapper.deleteIotPickDisplayById(id);
    }
}
